﻿/*
 * Created by SharpDevelop.
 * User: Lousabit
 * Date: 17/11/2011
 * Time: 12:14
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;

namespace Business_Entity
{
	/// <summary>
	/// Description of BELineaReporteVenta.
	/// </summary>
	/// 
	
	public struct ProdLinea{
		public String producto;
		public double monto;
	}
	
	public struct ServLinea{
		public String servicio;
		public double monto;
	}
	
	public class BELineaReporteVenta
	{
		
		private DateTime mes;
		private double monto;
		private List<ProdLinea> prods;
		private List<ServLinea> servs;
		
		
		public BELineaReporteVenta()
		{
			this.prods = new List<ProdLinea>();
			this.servs = new List<ServLinea>();
		}
		
		public BELineaReporteVenta(DateTime mes, double monto){
			this.mes = mes;
			this.monto = monto;
			
			this.prods = new List<ProdLinea>();
			this.servs = new List<ServLinea>();
		}
		
		public List<ProdLinea> Prods{
			get{return this.prods;}
		}
		
		public List<ServLinea> Servs{
			get{return this.servs;}
		}
		
		public DateTime Mes{
			get{return this.mes;}
			set{this.mes = value;}
		}
		
		public double Monto{
			get{return this.monto;}
			set{this.monto = value;}
		}
	}
}
